import {createRouter, createWebHashHistory, createWebHistory} from 'vue-router'
import groupPage from "@/views/group-page/index.vue";

const routes = [
    {
        path: '/',
        component: groupPage
    },
    {
        path: '/pay-success',
        component: () => import('@/views/pay-success/index.vue')
    },
    {
        path: '/code-page',
        component: () => import('@/views/code-page/index.vue')
    },
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router
